<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<div>
    <input type="text" :value="info" placeholder="1号">
    <input type="text" v-model="mag" placeholder="2号">
    <p>{{info}}</p><p>{{mag}}</p>
</div>
<!--引入vue-->
<script src="https://cdn.jsdelivr.net/npm/vue@2/dist/vue.js"></script>
<script>
    let v = new Vue({
        el:"div",
        data:{
            info:"单项绑定",
            mag:"双向绑定"

        }
    })


</script>
</body>
</html>